﻿@model sgp.Models.Banco

@{
    ViewBag.Title = "Delete";
}


<fieldset>
    <legend>Delatar Banco</legend>
     <table width="40%" cellpadding="4" border="1">

     <tr>
        <td>
        <div class="display-label">Nome</div>
        </td>
    <td>
         <div class="display-field">
        @Html.DisplayFor(model => model.Nome)
         </div>
    </td>
    </tr>
    <tr>
        <td>
    <div class="display-label">Numero</div>
       </td>
        <td>
        <div class="display-field">
        @Html.DisplayFor(model => model.Numero)
        </div>
    </td>
    </tr>
</fieldset>
<table border="0" width="10%" cellpadding="5">
    @using (Html.BeginForm())
    {

        <tr>
            <th>
                <input class="btn btn-danger btn-danger btn-small" type="submit" value="Deletar"
                    onclick="return confirm('Tem certeza de que quer apagar este?');" />
            </th>
            <th>
                <a class="btn btn-inverse btn-small" href="/Banco/Index" data-original-title="">Voltar</a>
            </th>
        </tr>
    }
</table>

